package org.wanho.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Author：汤小洋
 * Date：2024-12-03 10:11
 * Description：<描述>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private Integer id;
    private String name;
    private String pwd;
    private Integer age;
    private String sex;
    private Double height;

    @JSONField(format = "yyyy-MM-dd")
    private Date birthday;
}
